Resource StructureDefinition/FHIR Server from package ehealth4u.package#1.0.0 (62 ms)
Resources that use this resource
Resources that this resource uses
Source
{
"resourceType" : "StructureDefinition",
"id" : "cyehr-sd-medication-r4",
"meta" : {
"versionId" : "9",
"lastUpdated" : "2022-12-20T09:34:10.8613771+00:00"
},
"url" : "http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-medication-r4",
"name" : "CYEHRSDMedication",
"title" : "Cyprus EHR Medication profile",
"status" : "draft",
"experimental" : true,
"date" : "2022-03-19T16:09:47.3549741Z",
"publisher" : "eHealth4U",
"contact" : [
{
"name" : "eHealth Lab (University of Cyprus)",
"telecom" : [
{
"system" : "email",
"value" : "ehealthl@ucy.ac.cy",
"use" : "work"
}
]
}
],
"description" : "The profile for representing a medication product in the following cases:\r\n(1) as registered by the Pharmaceutical Services of Ministry of Health of Cyprus \r\n(2) as recorded by a medical doctor in the Medication History section of a patient's EHR",
"fhirVersion" : "4.0.1",
"kind" : "resource",
"abstract" : false,
"type" : "Medication",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Medication",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "Medication",
"path" : "Medication",
"constraint" : [
{
"key" : "cyehr-medication-1",
"severity" : "error",
"human" : "If the medication is registered by the Cyprus Drug Information System then the following SHALL be provided: (1) a code using ATC terminology, (2) a form using EDQM standard and (3) the product extension.",
"expression" : "identifier.where(system='2.16.840.1.113883.3.9143.2.3.1').exists() implies (code.coding.where(system='http://fhir.de/CodeSystem/dimdi/atc').exists() and form.coding.where(system ='http://standardterms.edqm.eu').exists() and extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').exists())"
},
{
"key" : "cyehr-medication-2",
"severity" : "error",
"human" : "If the medication is registered by the Cyprus Drug Information System and the MedicinalProductDefinition extension exists then the following SHALL be provided: (1) the name (both productName and namePartStrength) , (2) the product.description and (3) the product.routeOfAdministration.",
"expression" : "(identifier.where(system='2.16.840.1.113883.3.9143.2.3.1').exists() and extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').exists()) implies (extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').extension('name').exists() and extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').extension('name').extension('namePartStrength').exists() and extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').extension('description').exists() and extension('http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition').extension('routeOfAdministration').exists())"
}
]
},
{
"id" : "Medication.meta",
"path" : "Medication.meta"
},
{
"id" : "Medication.meta.profile",
"path" : "Medication.meta.profile",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "$this"
}
],
"rules" : "open"
},
"min" : 1
},
{
"id" : "Medication.meta.profile:cyprusEHRProfile",
"path" : "Medication.meta.profile",
"sliceName" : "cyprusEHRProfile",
"comment" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.\r\n\r\nCyprusEHR: All downstream projects using Medication resource of Cyprus EHR should conform to http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-medication-r4",
"min" : 1,
"max" : "1",
"fixedCanonical" : "http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-medication-r4"
},
{
"id" : "Medication.extension",
"path" : "Medication.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"rules" : "open"
},
"min" : 0
},
{
"id" : "Medication.extension:product",
"path" : "Medication.extension",
"sliceName" : "product",
"short" : "Medicinal product definition elements for products as registered by the Cyprus Drug Information System",
"definition" : "CyprusEHR: Short definition of a medicinal product as registered by the Cyprus Drug Information System (CYPDIS). It SHALL be used when a medication has a cypdis identifier.",
"comment" : "CyprusEHR: Inspired by: http://hl7.org/fhir/5.0.0-snapshot1/medicinalproductdefinition.html",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition"
]
}
]
},
{
"id" : "Medication.extension:product.extension",
"path" : "Medication.extension.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"rules" : "open"
},
"min" : 0
},
{
"id" : "Medication.extension:product.extension:routeOfAdministration",
"path" : "Medication.extension.extension",
"sliceName" : "routeOfAdministration",
"min" : 0
},
{
"id" : "Medication.extension:product.extension:routeOfAdministration.value[x].coding",
"path" : "Medication.extension.extension.value[x].coding",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "$this"
}
],
"rules" : "open"
}
},
{
"id" : "Medication.extension:marketingAuthorizationHolder",
"path" : "Medication.extension",
"sliceName" : "marketingAuthorizationHolder",
"min" : 0,
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-marketingauthorizationholder"
]
}
],
"isModifier" : false
},
{
"id" : "Medication.identifier",
"path" : "Medication.identifier",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "$this"
}
],
"rules" : "open"
}
},
{
"id" : "Medication.identifier.use",
"path" : "Medication.identifier.use",
"mustSupport" : true
},
{
"id" : "Medication.identifier.system",
"path" : "Medication.identifier.system",
"mustSupport" : true
},
{
"id" : "Medication.identifier.value",
"path" : "Medication.identifier.value",
"mustSupport" : true
},
{
"id" : "Medication.identifier:cypdis",
"path" : "Medication.identifier",
"sliceName" : "cypdis",
"short" : "CYPDIS identifier",
"definition" : "Business identifier for this medication.\r\n\r\nCyprusEHR: The Cyprus Drug Information System identifier.",
"comment" : "The serial number could be included as an identifier.\r\n\r\nCyprusEHR: The Cyprus Drug Information System barcode is used as an identifier for the registered drugs. The \"barcode\" field is constructed as the concatenation of the drugId and the packNr. If any of these two fields are required to be recorded per each CYPDIS drug, an extension should be created and be used individually for all the cypdis drugs.",
"max" : "1",
"patternIdentifier" : {
"use" : "official",
"system" : "urn:oid:2.16.840.1.113883.3.9143.2.3.1"
},
"mustSupport" : true
},
{
"id" : "Medication.identifier:cypdis.use",
"path" : "Medication.identifier.use",
"mustSupport" : true
},
{
"id" : "Medication.identifier:cypdis.type",
"path" : "Medication.identifier.type",
"definition" : "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.\r\n\r\nCyprusEHR: not to be used for Cyprus EHR"
},
{
"id" : "Medication.identifier:cypdis.system",
"path" : "Medication.identifier.system",
"definition" : "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\r\n\r\nCyprusEHR: The OID as registered by NeHA for the Cyprus Drug Information System id.",
"min" : 1,
"example" : [
{
"label" : "CYPDIS OID",
"valueUri" : "urn:oid:2.16.840.1.113883.3.9143.2.3.1"
}
],
"mustSupport" : true
},
{
"id" : "Medication.identifier:cypdis.value",
"path" : "Medication.identifier.value",
"short" : "CYPDIS barcode",
"definition" : "The portion of the identifier typically relevant to the user and which is unique within the context of the system.\r\n\r\nCyprusEHR: Cyprus Drug Information System uses barcode as the combination of drugID and packNR for each medication.",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Medication.identifier:cypdis.period",
"path" : "Medication.identifier.period",
"definition" : "Time period during which identifier is/was valid for use.\r\nCyprusEHR: not to be used for Cyprus EHR"
},
{
"id" : "Medication.identifier:cypdis.assigner",
"path" : "Medication.identifier.assigner",
"definition" : "Organization that issued/manages the identifier.\r\nCyprusEHR: not to be used for Cyprus EHR"
},
{
"id" : "Medication.identifier:cypdis.assigner.reference",
"path" : "Medication.identifier.assigner.reference",
"min" : 1
},
{
"id" : "Medication.code",
"path" : "Medication.code",
"min" : 1,
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
"http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
]
}
],
"mustSupport" : true
},
{
"id" : "Medication.code.coding",
"path" : "Medication.code.coding",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "$this"
}
],
"rules" : "open"
},
"min" : 1
},
{
"id" : "Medication.code.coding:atcCode",
"path" : "Medication.code.coding",
"sliceName" : "atcCode",
"patternCoding" : {
"system" : "http://www.whocc.no/atc"
},
"binding" : {
"strength" : "required",
"description" : "All codes from system http://www.whocc.no/atc",
"valueSet" : "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsiactiveingredient"
}
},
{
"id" : "Medication.code.coding:atcCode.system",
"path" : "Medication.code.coding.system",
"min" : 1
},
{
"id" : "Medication.code.coding:atcCode.code",
"path" : "Medication.code.coding.code",
"min" : 1
},
{
"id" : "Medication.code.coding:atcCode.display",
"path" : "Medication.code.coding.display",
"min" : 1
},
{
"id" : "Medication.code.coding:eHDSIAbsentOrUnknownMedication",
"path" : "Medication.code.coding",
"sliceName" : "eHDSIAbsentOrUnknownMedication",
"binding" : {
"strength" : "required",
"valueSet" : "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsiabsentorunknownmedication"
}
},
{
"id" : "Medication.code.coding:eHDSIAbsentOrUnknownMedication.system",
"path" : "Medication.code.coding.system",
"min" : 1
},
{
"id" : "Medication.code.coding:eHDSIAbsentOrUnknownMedication.code",
"path" : "Medication.code.coding.code",
"min" : 1
},
{
"id" : "Medication.code.coding:eHDSIAbsentOrUnknownMedication.display",
"path" : "Medication.code.coding.display",
"min" : 1
},
{
"id" : "Medication.status",
"path" : "Medication.status",
"comment" : "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.\r\n\r\nCyprusEHR: Not to be used in the context of Cyprus EHR."
},
{
"id" : "Medication.manufacturer",
"path" : "Medication.manufacturer",
"short" : "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.",
"definition" : "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.",
"comment" : "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.\r\n\r\nCyprusEHR: Not to be used in the context of Cyprus EHR. Use the extension marketingAuthorizationHolder instead.",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-sd-organization-r4",
"http://hl7.org/fhir/StructureDefinition/Organization"
]
}
]
},
{
"id" : "Medication.form",
"path" : "Medication.form",
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
"http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
]
}
],
"mustSupport" : true
},
{
"id" : "Medication.form.coding",
"path" : "Medication.form.coding",
"slicing" : {
"discriminator" : [
{
"type" : "pattern",
"path" : "$this"
}
],
"rules" : "open"
},
"definition" : "A reference to a code defined by a terminology system. \r\n\r\nCyprusEHR: If a medication is provided by the Cyprus Drug Information System (CYPDIS), an EDQM form dose code SHALL be defined.",
"min" : 1
},
{
"id" : "Medication.form.coding:edqmCode",
"path" : "Medication.form.coding",
"sliceName" : "edqmCode",
"binding" : {
"strength" : "required",
"description" : "EDQM Dose Form codes.",
"valueSet" : "http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsidoseform"
}
},
{
"id" : "Medication.form.coding:edqmCode.system",
"path" : "Medication.form.coding.system",
"min" : 1
},
{
"id" : "Medication.form.coding:edqmCode.code",
"path" : "Medication.form.coding.code",
"min" : 1
},
{
"id" : "Medication.form.coding:edqmCode.display",
"path" : "Medication.form.coding.display",
"min" : 1
},
{
"id" : "Medication.amount",
"path" : "Medication.amount",
"label" : "Total Volume",
"definition" : "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).",
"comment" : "The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit. Where the denominator value is known to be fixed to \"1\", Quantity should be used instead of Ratio.\r\n\r\nCyprusEHR: Not to be used in the context of Cyprus EHR."
},
{
"id" : "Medication.ingredient",
"path" : "Medication.ingredient",
"comment" : "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.\r\n\r\nCyprusEHR: Not to be used in the context of Cyprus EHR."
},
{
"id" : "Medication.batch",
"path" : "Medication.batch",
"comment" : "CyprusEHR: Not to be used in the context of Cyprus EHR."
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.